home *** CD-ROM | disk | FTP | other *** search
/ 3D GFX / 3D GFX.iso / amiutils / i_l / irit5 / grapdrvs / x11drvs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-12-31  |  1.1 KB  |  49 lines

  1. /*****************************************************************************
  2. *   "Irit" - the 3d polygonal solid modeller.                     *
  3. *                                         *
  4. * Written by:  Gershon Elber                Ver 1.0, Jan. 1992   *
  5. ******************************************************************************
  6. * Global definitions of    x11drvs interface.                         *
  7. *****************************************************************************/
  8.  
  9. #ifndef    X11DRVS_H    /* Define only once */
  10. #define    X11DRVS_H
  11.  
  12. #define RESOURCE_NAME        "irit"
  13.  
  14. #define DEFAULT_VIEW_WIDTH    400
  15. #define DEFAULT_VIEW_HEIGHT    400
  16.  
  17. extern int
  18.     ViewHasSize,
  19.     ViewHasPos,
  20.     ViewPosX,
  21.     ViewPosY,
  22.     XScreen;
  23. extern unsigned int
  24.     MaxColors,
  25.     ViewBackGroundPixel,
  26.     ViewTextPixel,
  27.     ViewBorderPixel,
  28.     ViewBorderWidth,
  29.     ViewWidth,
  30.     ViewHeight;
  31. extern Display
  32.     *XDisplay;
  33. extern Window
  34.     XRoot,
  35.     ViewWndw;
  36. extern Colormap
  37.     XColorMap;
  38. extern GC
  39.     XViewGraphContext;
  40. extern XColor
  41.     BlackColor,
  42.     *ViewCursorColor,
  43.     XViewColorsHigh[IG_MAX_COLOR + 1],
  44.     XViewColorsLow[IG_MAX_COLOR + 1];
  45.  
  46. void SetViewWindow(int argc, char **argv);
  47.  
  48. #endif /* X11DRVS_H */
  49.